﻿using AutoMapper;
using S.RBAC.Api.Application.Command.RoleCommand;
using S.RBAC.Domain.Model;

namespace S.RBAC.Api.Extensions
{
    public class RoleProfile : Profile
    {
        public RoleProfile()
        {
            CreateMap<RoleCreateCommand, Role>().ReverseMap();
            CreateMap<RoleDeleteCommand, Role>().ReverseMap();
        }
    }
}
